]> dgit.raspbian.org Git - gnome-shell.git/commit
gdm/util: Make sure error is GError before checking it
authorRay Strode <rstrode@redhat.com>
Wed, 15 May 2024 14:47:40 +0000 (10:47 -0400)
committerMarge Bot <marge-bot@gnome.org>
Mon, 20 May 2024 14:38:27 +0000 (14:38 +0000)
commitd8ab090d47025c2d06f81edb0475de5e2c1de9e2
tree98cd2fa532a970f8f170ab318982e7e4e8bb8d85
parent3220005eea236f07c80ae0c04a76b64a24dc4fac
gdm/util: Make sure error is GError before checking it

The fingerprint device fetching code has a generic error handler,
that assumes the passed in error is GError. If it's not a
GError it will fail trying to use GError specific methods.

This commit adds some validation checking.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3319>
js/gdm/util.js